{$CLEO .cs}
{$USE cleo+}
0000:
   
    
    
 

:RESPAWN 

while true 
wait 0
   if 
   00FE:    actor $PLAYER_ACTOR sphere 0 in_sphere  5183.3784 -3379.8096 10.4703  radius 130.0 130.0 130.0

   then
       break
   end
   if $onmission == 0 
   then
       jump @end
   end
end 
                    
0376: 1@ = create_random_actor_at  5182.6636 -3381.8962 10.4703
0376: 2@  = create_random_actor_at  5189.2026 -3384.271 10.4703
0376:  3@ = create_random_actor_at  5186.4253 -3387.7788 10.4703
0376:  4@ = create_random_actor_at   5183.3784 -3379.8096 10.4703
 
actor.Health(1@)=500
actor.Health(2@)=500
actor.Health(3@)=500
actor.Health(4@)=500 
0446: set_actor 1@ dismemberment_possible 0
0446: set_actor 2@ dismemberment_possible 0
0446: set_actor 3@ dismemberment_possible 0
0446: set_actor 4@ dismemberment_possible 0 
0946: set_actor 1@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 2@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 3@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 4@ actions_uninterupted_by_weapon_fire 1  

07DD: set_actor 1@ attack_rate 50 // previously known as temper_to
07DD: set_actor 2@ attack_rate 50 // previously known as temper_to
07DD: set_actor 3@ attack_rate 50 // previously known as temper_to
07DD: set_actor 4@ attack_rate 50 // previously known as temper_to 
077A: set_actor 1@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 2@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 3@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 4@ acquaintance 3 to_actors_pedtype 6 // see ped.dat 
05E2: AS_actor 1@ kill_actor 2@
05E2: AS_actor 3@ kill_actor 4@ 
07FE: set_actor 1@ fighting_style_to 7 moves 6
07FE: set_actor 2@ fighting_style_to 15 moves 6
07FE: set_actor 3@ fighting_style_to 6 moves 6
07FE: set_actor 4@ fighting_style_to 5 moves 6 
 
while true 
wait 0
   if  or 
    $onmission == 0
   80FE: not  actor $PLAYER_ACTOR sphere 0 in_sphere  5183.3784 -3379.8096 10.4703 radius 130.0 130.0 130.0

   then
       break
   end
end 



:CLEANUP
actor.DestroyInstantly(1@)
actor.DestroyInstantly(2@)
actor.DestroyInstantly(3@)
actor.DestroyInstantly(4@) 
if    $onmission == 0
then
   jump @end
else 
   jump @RESPAWN 
end

:end 
end_thread